package com.ktgj.customer.domain.Insurance.dxModel;

import java.util.Date;

/**
 * 易宝代扣/退款实体
 */
public class YiBaoCallBackRequest {

    /**
     * 业务类型
     * 0-未知； 1-扣款；2-退款；3-扣款未找到记录；4-退款未找到记录
     */
    public int bussinessType;

    public int getBussinessType() {
        return bussinessType;
    }

    public void setBussinessType(int bussinessType) {
        this.bussinessType = bussinessType;
    }

    /**
     * 商户编号（商户在易宝支付系统的唯一身份标识）
     */
    public String merId;

    public String getMerId() {
        return merId;
    }

    public void setMerId(String merId) {
        this.merId = merId;
    }
    /**
     * 业务类型
     * Buy-扣款；RefundOrd-退款
     */
    public String bussinessCmd;

    public String getBussinessCmd() {
        return bussinessCmd;
    }

    public void setBussinessCmd(String bussinessCmd) {
        this.bussinessCmd = bussinessCmd;
    }

    /**
     * 支付结果
     * 1-扣款支付成功；2-退款支付成功;0-未知
     */
    public int payResultCode;

    public int getPayResultCode() {
        return payResultCode;
    }

    public void setPayResultCode(int payResultCode) {
        this.payResultCode = payResultCode;
    }

    /**
     * 易宝支付交易流水号
     */
    public String trxId;

    public String getTrxId() {
        return trxId;
    }

    public void setTrxId(String trxId) {
        this.trxId = trxId;
    }

    /**
     * 金额
     */
    public float account;

    public float getAccount() {
        return account;
    }

    public void setAccount(float account) {
        this.account = account;
    }

    /**
     * 交易币种
     */
    public String currency;

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    /**
     * 商品名称
     */
    public String goodName;

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    /**
     * 易宝返回商户订单号
     */
    public String payOrderId;

    public String getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(String payOrderId) {
        this.payOrderId = payOrderId;
    }

    /**
     * 易宝支付会员id
     */
    public String payUId;

    public String getPayUId() {
        return payUId;
    }

    public void setPayUId(String payUId) {
        this.payUId = payUId;
    }

    /**
     * 商户扩展信息
     */
    public String payMp;

    public String getPayMp() {
        return payMp;
    }

    public void setPayMp(String payMp) {
        this.payMp = payMp;
    }

    /**
     * 交易结果返回类型
     * 1-浏览器重定向；2-服务器点对点通讯
     */
    public int payBType;

    public int getPayBType() {
        return payBType;
    }

    public void setPayBType(int payBType) {
        this.payBType = payBType;
    }

    /**
     * 支付通道编码
     */
    public String payBankId;

    public String getPayBankId() {
        return payBankId;
    }

    public void setPayBankId(String payBankId) {
        this.payBankId = payBankId;
    }

    /**
     * 银行订单号
     */
    public String payBankOrderId;

    public String getPayBankOrderId() {
        return payBankOrderId;
    }

    public void setPayBankOrderId(String payBankOrderId) {
        this.payBankOrderId = payBankOrderId;
    }

    /**
     * 原订单请求时间--退款；支付成功时间-扣款
     */
    public String payTime;

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    /**
     * 交易结果通知时间
     */
    public Date trxTime;

    public Date getTrxTime() {
        return trxTime;
    }

    public void setTrxTime(Date trxTime) {
        this.trxTime = trxTime;
    }

    /**
     * 扣款-用户手续费
     */
    public float sourceFee;

    public float getSourceFee() {
        return sourceFee;
    }

    public void setSourceFee(float sourceFee) {
        this.sourceFee = sourceFee;
    }

    /**
     * 商户手续费
     */
    public float targetFee;

    public float getTargetFee() {
        return targetFee;
    }

    public void setTargetFee(float targetFee) {
        this.targetFee = targetFee;
    }

    /**
     * 退款-交易类型
     * Receiver-代扣；Payer-自动付款
     */
    public String refundCat;

    public String getRefundCat() {
        return refundCat;
    }

    public void setRefundCat(String refundCat) {
        this.refundCat = refundCat;
    }

    /**
     * 退款--手续费
     */
    public String refundFee;

    public String getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(String refundFee) {
        this.refundFee = refundFee;
    }

    /**
     * 签名验证
     */
    public String hMac;

    public String gethMac() {
        return hMac;
    }

    public void sethMac(String hMac) {
        this.hMac = hMac;
    }

    /**
     * 扩展信息
     */
    public String extend;

    public String getExtend() {
        return extend;
    }

    public void setExtend(String extend) {
        this.extend = extend;
    }

    /**
     * 退款-商户退款请求号
     */
    public String refundOrder;

    public String getRefundOrder() {
        return refundOrder;
    }

    public void setRefundOrder(String refundOrder) {
        this.refundOrder = refundOrder;
    }
}
